From: Jonathan Lebon Date: Tue, 3 Oct 2017 19:00:32 +0000 (+0000) Subject: app/main: use HAVE_LIBCURL_OR_LIBSOUP for pull CLI X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~30^2~87 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=c3c13846ad1baadc388bcd37334bf17212af9c72;p=ostree.git app/main: use HAVE_LIBCURL_OR_LIBSOUP for pull CLI We want `pull` to be included as long as we have at least either `libcurl` or `libsoup` to back it. Of course, this is a moot point for now since `libsoup` is currently a build requirement. Closes: #1244 Approved by: cgwalters --- diff --git a/src/ostree/main.c b/src/ostree/main.c index e1ccf983..66cfae7f 100644 --- a/src/ostree/main.c +++ b/src/ostree/main.c @@ -51,7 +51,7 @@ static OstreeCommand commands[] = { { "ls", ostree_builtin_ls }, { "prune", ostree_builtin_prune }, { "pull-local", ostree_builtin_pull_local }, -#ifdef HAVE_LIBSOUP +#ifdef HAVE_LIBCURL_OR_LIBSOUP { "pull", ostree_builtin_pull }, #endif { "refs", ostree_builtin_refs },